package com.api.signature.auto.annotation;

import java.lang.annotation.*;

/**
 * @author Jerry
 * @date 2024-01-24 9:49
 * api签名注解验证
 */
@Inherited
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ApiSignature {

    /**
     * 接口描述
     */
    String desc() default "";

    /**
     * 是否需要token认证
     * TODO 请求头认证
     */
    boolean auth() default true;

}
